/*
     /wsm/app/catalogs/*  -> role: -1-
     /wsm/app/catalogs/make,/wsm/app/catalogs/delete ->  role: -2-

     filter 匹配到大致的一个路径 url: /wsm/app/*

     1. 得到访问的ACTION URL
               /wsm/app/catalogs
     2. 找到是否有角色控制 比如匹配到了
                /wsm/app/catalogs
     3. 如果method:"*"，则所有方法都必须要求管理员拥有该角色值
        如果method:"有具体的方法控制" 
        再获取当前请求方法，查看method是否包含，如果包含，则要求管理员拥有该角色值
*/

[
{
    "path":"/wsm/app/admin" ,
    "methods":"make_mgr(),delete_mgr(),reset_mgr_key(),reset_mgr_role(),make_role(),update_role(),delete_role()", 
    "role":"-1-"
},
{
    "path":"/wsm/app/catalogs" ,
    "methods":"make(),delete()",
    "role":"-2-"
},
{
    "path":"/wsm/app/catalogslevel" ,
    "methods":"*",
    "role":"-2-"
},
{
    "path":"/wsm/app/infobase" ,
    "methods":"*",
    "role":"-4-"
},
{
    "path":"/wsm/app/tags" ,
    "methods":"update_pubstate(),update_channel_catelog(),make(),delete()",
    "role":"-11-"
},
{
    "path":"/wsm/app/events" ,
    "methods":"*",
    "role":"-7-"
},
{
    "path":"/wsm/app/hotshop" ,
    "methods":"*",
    "role":"-8-"
},
{
    "path":"/wsm/app/hotword" ,
    "methods":"*",
    "role":"-10-"
},
{
    "path":"/wsm/app/feedback" ,
    "methods":"*",
    "role":"-5-"
},
{
    "path":"/wsm/app/tinycmt" ,
    "methods":"*",
    "role":"-9-"
},
{
    "path":"/wsm/app/link" ,
    "methods":"*",
    "role":"-6-"
},
{
    "path":"/wsm/app/pageset" ,
    "methods":"*",
    "role":"-3-"
},
{
    "path":"/wsm/app/mailer" ,
    "methods":"*",
    "role":"-12-"
}
]
